package com.rp.demo.service;

import com.rp.demo.entity.MsgLog;

import java.util.Date;
import java.util.List;

/**
 * 消息投递日志 服务类
 *
 * @author ruipeng
 * @since 2021-05-07
 */
public interface MsgLogService {


    void updateStatus(String msgId, int status);

    List<MsgLog> selectTimeoutMsg();

    void updateTryCount(String msgId, Date nextTryTime);

    MsgLog selectByMsgId(String msgId);
}
